class Person:
    def __init__(self,age,name):
        self.age=age
        self.name = name

    def say_age(self):
        print(self.name,"的年龄是",self.age)

    def say_name(self):
        print("我是",self.name)


class Student(Person):

    def __init__(self,name,age,score):
        Person.__init__(self,age,name)
        self.score=score

    def say_score(self):
        print(self.name,"的分数是：",self.score)

    def say_name(self):
        print("报告老师，我是",self.name)


s1 = Student("张三",18,99)
s1.say_score()
s1.say_name()
s1.say_age()
